package com.maezia.tdr.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.maezia.tdr.service.ClientDetailsService;
import com.maezia.tdr.dao.mapper.ClientDetailsMapper;
import com.maezia.tdr.dao.repository.ClientDetailsRepository;
import com.maezia.tdr.domain.po.ClientDetails;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClientDetailsServiceImpl extends ServiceImpl<ClientDetailsMapper, ClientDetails> implements ClientDetailsService {

    @Autowired
    private ClientDetailsRepository clientDetailsRepository;

    @Override
    public ClientDetails getByClientId(String clientId) {
        return clientDetailsRepository.getByClientId(clientId);
    }
}
